int main()
{
Computer compute; //To create an 'instance' of the
// class,
simply treat it like you would a structure. (An
// instance is
simply when you create an actual object from
// the class,
as opposed to having the definition of the class)
compute.setspeed(100); //To call
functions in the class,
// you put the
name of the instance, a period, and then the
// function
name.
cout<<compute.readspeed(); //See above
note.
return 0;
}